﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    public partial class IoTbPatientBillDetail
    {
        /// <summary>
        /// 结账明细id主键
        /// </summary>
        public long BillDetailId { get; set; }
        /// <summary>
        /// 结账id
        /// </summary>
        public long? BillId { get; set; }
        /// <summary>
        /// 住院流水号
        /// </summary>
        public long? RegNo { get; set; }
        /// <summary>
        /// 新住院流水号
        /// </summary>
        public long? NewRegNo { get; set; }
        /// <summary>
        /// 项目id
        /// </summary>
        public int? ItemId { get; set; }
        /// <summary>
        /// 新项目id
        /// </summary>
        public int? NewItemId { get; set; }
        /// <summary>
        /// 医嘱id
        /// </summary>
        public int? AdvId { get; set; }
        /// <summary>
        /// 计费时间
        /// </summary>
        public DateTime? FeeTime { get; set; }
        /// <summary>
        /// 计费科室
        /// </summary>
        public int? FeeDeptId { get; set; }
        /// <summary>
        /// 可报价格
        /// </summary>
        public decimal? ReimbursePrice { get; set; }
        /// <summary>
        /// 不可报价格
        /// </summary>
        public decimal? UnReimbursePrice { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public decimal? Quantity { get; set; }
        /// <summary>
        /// 可报金额
        /// </summary>
        public decimal? ReimburseAmount { get; set; }
        /// <summary>
        /// 不可报金额
        /// </summary>
        public decimal? UnReimburseAmount { get; set; }
        /// <summary>
        /// 项目大类
        /// </summary>
        public int? ItemCategory { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? CreateUserId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateOn { get; set; }
        /// <summary>
        /// 病区id
        /// </summary>
        public int? WardId { get; set; }
        /// <summary>
        /// 执行科室
        /// </summary>
        public int? RealExecDept { get; set; }
        /// <summary>
        /// 数据来源
        /// </summary>
        public byte? Source { get; set; }
        /// <summary>
        /// 红冲原费用id
        /// </summary>
        public long? PairId { get; set; }
        /// <summary>
        /// 医院id
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 新生儿住院流水号
        /// </summary>
        public long? BabyRegNo { get; set; }
        /// <summary>
        /// 费用主键
        /// </summary>
        public long? SerialNo { get; set; }
        /// <summary>
        /// 收费项目全局id
        /// </summary>
        public int GlobalId { get; set; }
        /// <summary>
        /// 减免金额
        /// </summary>
        public decimal? DeductionAmt { get; set; }
    }
}
